package es.biciapp.util;

import javax.swing.JPanel;
import javax.swing.SwingUtilities;
import es.biciapp.gui.Frame;

public class Utilidades {

	public static Frame getFrameContenedor(JPanel panel) {
		return (Frame) SwingUtilities.getWindowAncestor(panel);
	}

}
